package com.skyworth.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.skyworth.core.entity.AbstractEntity;
import lombok.Setter;
import lombok.Getter;

/**
 * <p>
 * 资料权限表
 * </p>
 *
 * @author wuxj
 * @since 2020-02-26
 */
@Setter
@Getter
public class MaterialPermission extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 材料信息ID(material_info)
     */
    @TableId(value = "material_id", type = IdType.ASSIGN_ID)
    private Long materialId;

    /**
     * 部门ID（department_info）
     */
    private Long departmentId;


}
